package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 生产企业动态评分项表（记录日常、体系、飞行最新检查结果）
    */
@Data
@TableName(value = "JG_SC_DYNAMIC_SCORING")
//@KeySequence(value = "JG_SC_DYNAMIC_SCORING_SQE")
public class JgScDynamicScoring implements Serializable {

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 表JG_CHECK_CONTENT的主键
     */
    @TableField(value = "CONTENT_ID")
    private Long contentId;

    /**
     * 检查项目内容
     */
    @TableField(value = "CHECK_CONTENT")
    private String checkContent;

    /**
     * 检查企业id
     */
    @TableField(value = "COMPANY_ID")
    private Long companyId;

    /**
     * 分数
     */
    @TableField(value = "SCORE")
    private Double score;

    /**
     * 选择项：1是、2否、3合理缺项
     */
    @TableField(value = "SELECTION")
    private String selection;

    /**
     * 创建人id
     */
    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    /**
     * 创建人名称
     */
    @TableField(value = "CREATOR_NAME")
    private String creatorName;


    @TableField(value = "DELETE_FLAG")
    private String deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 修改人名称
     */
    @TableField(value = "UPDATE_NAME")
    private String updateName;

    /**
     * 修改人id
     */
    @TableField(value = "UPDATE_ID")
    private Long updateId;

    private static final long serialVersionUID = 1L;
}
